/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.AttributeManager;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "供应商档案",TableName = "T_VIEW_RM")]
    public partial class T_VIEW_RM:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="guid")]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid guid { get; set; }

       /// <summary>
       ///区域
       /// </summary>
       [Display(Name ="区域")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_ARE { get; set; }

       /// <summary>
       ///区域编号
       /// </summary>
       [Display(Name ="区域编号")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_ARE_CODE { get; set; }

       /// <summary>
       ///省份名称
       /// </summary>
       [Display(Name ="省份名称")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_PROVINCE { get; set; }

       /// <summary>
       ///省份编码
       /// </summary>
       [Display(Name ="省份编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_PROVINCE_CODE { get; set; }

       /// <summary>
       ///城市
       /// </summary>
       [Display(Name ="城市")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_CITY { get; set; }

       /// <summary>
       ///城市编码
       /// </summary>
       [Display(Name ="城市编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_CITY_CODE { get; set; }

       /// <summary>
       ///相对方名称
       /// </summary>
       [Display(Name ="相对方名称")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_NAME { get; set; }

       /// <summary>
       ///相对方编号
       /// </summary>
       [Display(Name ="相对方编号")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_CODE { get; set; }

       /// <summary>
       ///相对方类别
       /// </summary>
       [Display(Name ="相对方类别")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_TYPE { get; set; }

       /// <summary>
       ///相对方大类编码
       /// </summary>
       [Display(Name ="相对方大类编码")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string EXP2 { get; set; }

       /// <summary>
       ///相对方小类名称
       /// </summary>
       [Display(Name ="相对方小类名称")]
       [MaxLength(3600)]
       [Column(TypeName="nvarchar(3600)")]
       [Editable(true)]
       public string T_RM_FL { get; set; }

       /// <summary>
       ///相对方小类编码
       /// </summary>
       [Display(Name ="相对方小类编码")]
       [MaxLength(3600)]
       [Column(TypeName="nvarchar(3600)")]
       [Editable(true)]
       public string T_RM_FL_CODE { get; set; }

       /// <summary>
       ///公司性质编码
       /// </summary>
       [Display(Name ="公司性质编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_COMPANY_NATURE_CODE { get; set; }

       /// <summary>
       ///公司性质
       /// </summary>
       [Display(Name ="公司性质")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_COMPANY_NATURE { get; set; }

       /// <summary>
       ///经营期限开始日期
       /// </summary>
       [Display(Name ="经营期限开始日期")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? T_RM_BUSINESS_START_DATE { get; set; }

       /// <summary>
       ///经营期限结束日期
       /// </summary>
       [Display(Name ="经营期限结束日期")]
       [Column(TypeName="date")]
       [Editable(true)]
       public DateTime? T_RM_BUSINESS_START_END { get; set; }

       /// <summary>
       ///合作状态
       /// </summary>
       [Display(Name ="合作状态")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_WORK_STATUE { get; set; }

       /// <summary>
       ///合作状态编码
       /// </summary>
       [Display(Name ="合作状态编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_WORK_STATUE_CODE { get; set; }

       /// <summary>
       ///法人代表
       /// </summary>
       [Display(Name ="法人代表")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_COR_REP { get; set; }

       /// <summary>
       ///注册资金
       /// </summary>
       [Display(Name ="注册资金")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_REGISTERED_CAPITAL { get; set; }

       /// <summary>
       ///纳税人资格
       /// </summary>
       [Display(Name ="纳税人资格")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_TAXPAYER_QUALIFICATION { get; set; }

       /// <summary>
       ///纳税人资格编码
       /// </summary>
       [Display(Name ="纳税人资格编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_TAXPAYER_QUALIFICATION_CODE { get; set; }

       /// <summary>
       ///办公地址
       /// </summary>
       [Display(Name ="办公地址")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string T_RM_OFFICE_ADD { get; set; }

       /// <summary>
       ///经营范围
       /// </summary>
       [Display(Name ="经营范围")]
       [MaxLength(1500)]
       [Column(TypeName="nvarchar(1500)")]
       [Editable(true)]
       public string T_RM_BUSINESS { get; set; }

       /// <summary>
       ///注册地址
       /// </summary>
       [Display(Name ="注册地址")]
       [MaxLength(300)]
       [Column(TypeName="nvarchar(300)")]
       [Editable(true)]
       public string T_RM_REGISTERED_ADD { get; set; }

       /// <summary>
       ///统一社会信用代码
       /// </summary>
       [Display(Name ="统一社会信用代码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_UNI_CODE { get; set; }

       /// <summary>
       ///开户银行
       /// </summary>
       [Display(Name ="开户银行")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_BANK_DEPOSIT { get; set; }

       /// <summary>
       ///开户银行编码
       /// </summary>
       [Display(Name ="开户银行编码")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_BANK_DEPOSIT_CODE { get; set; }

       /// <summary>
       ///账户名称
       /// </summary>
       [Display(Name ="账户名称")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_BANK_NAME { get; set; }

       /// <summary>
       ///账号
       /// </summary>
       [Display(Name ="账号")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_BANK_ACCOUNT { get; set; }

       /// <summary>
       ///网址
       /// </summary>
       [Display(Name ="网址")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_WEBSITE { get; set; }

       /// <summary>
       ///办公电话
       /// </summary>
       [Display(Name ="办公电话")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string T_RM_OFFICE_TEL { get; set; }

       /// <summary>
       ///邮编
       /// </summary>
       [Display(Name ="邮编")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_ZIP_CODE { get; set; }

       /// <summary>
       ///传真
       /// </summary>
       [Display(Name ="传真")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string T_RM_FAX { get; set; }

       /// <summary>
       ///说明
       /// </summary>
       [Display(Name ="说明")]
       [MaxLength(1500)]
       [Column(TypeName="nvarchar(1500)")]
       [Editable(true)]
       public string T_RM_REMARK { get; set; }

       /// <summary>
       ///招采平台创建时间
       /// </summary>
       [Display(Name ="招采平台创建时间")]
       [Column(TypeName="smalldatetime")]
       public DateTime? T_CREATE_DATE { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="T_UPDATE_DATE")]
       [Column(TypeName="smalldatetime")]
       public DateTime? T_UPDATE_DATE { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EXP3")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       public string EXP3 { get; set; }

       
    }
}